import Vue from 'vue'
import VueRouter from 'vue-router'

import CompusBinhai from '@/views/CompusBinhai.vue'

import CompusChashan from '@/views/CompusChashan.vue'

import CompusYueqing from '@/views/CompusYueqing.vue'

import StudentSystem from '@/views/StudentSystem.vue'

import LoginSystem from '@/views/LoginSystem.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: CompusBinhai
  },
  {
    path : '/Chashan',
    name : 'Chashan',
    component : CompusChashan
  },
  {
    path : '/Yueqing',
    name : 'Yueqing',
    component : CompusYueqing
  },
  {
    path : '/StudentSystem',
    name : 'StudentSystem',
    component : StudentSystem
  },
  {
    path : '/Login',
    name : 'Login',
    component : LoginSystem
  }

]

const router = new VueRouter({
  routes
})

export default router
